﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CreateHousekeepingSchedule.aspx.cs" Inherits="HotelManagement.CreateHousekeepingSchedule" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

     

         .auto-style5 {
            width: 1065px;
        }
        .auto-style10 {
            height: 18px;
        }
        .auto-style11 {
            width: 95px;
            height: 18px;
            text-align: center;
        }
        .auto-style15 {
            height: 19px;
        }
        .auto-style16 {
            width: 95px;
            height: 19px;
            text-align: center;
        }
        .auto-style22 {
            height: 21px;
        }
        .auto-style23 {
            width: 95px;
            height: 21px;
            text-align: center;
        }
        .auto-style31 {
            height: 15px;
        }
        .auto-style32 {
            width: 95px;
            height: 15px;
        }
        .auto-style33 {
            height: 15px;
            width: 1065px;
        }
        .auto-style36 {
            height: 32px;
        }
        .auto-style37 {
            width: 95px;
            height: 32px;
        }
        .auto-style38 {
            width: 1065px;
            height: 32px;
        }
        .auto-style41 {
            height: 33px;
        }
        .auto-style42 {
            width: 95px;
            height: 33px;
        }
        .auto-style43 {
            width: 1065px;
            height: 33px;
        }
        .auto-style46 {
            height: 92px;
        }
        .auto-style47 {
            width: 95px;
            height: 92px;
        }
        .auto-style48 {
            width: 1065px;
            height: 92px;
        }
        .auto-style55 {
            height: 29px;
        }
        .auto-style56 {
            width: 95px;
            height: 29px;
        }
        .auto-style57 {
            width: 1065px;
            height: 29px;
        }
        .auto-style60 {
            height: 39px;
        }
        .auto-style61 {
            width: 95px;
            height: 39px;
        }
        .auto-style62 {
            width: 1065px;
            height: 39px;
        }
        .auto-style78 {
            width: 1065px;
            height: 18px;
        }
        .auto-style79 {
            width: 1065px;
            height: 19px;
        }
        .auto-style80 {
            width: 1065px;
            height: 21px;
        }
        .auto-style81 {
            height: 38px;
        }
        .auto-style83 {
            width: 1065px;
            height: 38px;
        }
        .auto-style93 {
            color: #FFFFFF;
            width: 95px;
        }
        .auto-style94 {
            width: 95px;
        }
        .auto-style95 {
            height: 38px;
            width: 95px;
        }
        .auto-style96 {
            width: 411px;
        }
        .auto-style97 {
            width: 411px;
            height: 18px;
        }
        .auto-style98 {
            width: 411px;
            height: 19px;
        }
        .auto-style99 {
            width: 411px;
            height: 21px;
        }
        .auto-style100 {
            height: 15px;
            width: 411px;
        }
        .auto-style101 {
            height: 32px;
            width: 411px;
        }
        .auto-style102 {
            height: 33px;
            width: 411px;
        }
        .auto-style103 {
            height: 92px;
            width: 411px;
        }
        .auto-style105 {
            height: 29px;
            width: 411px;
        }
        .auto-style106 {
            height: 39px;
            width: 411px;
        }
        .auto-style107 {
            height: 30px;
        }
        .auto-style108 {
            width: 95px;
            height: 30px;
        }
        .auto-style109 {
            height: 30px;
            width: 411px;
        }
        .auto-style112 {
            width: 1065px;
            height: 30px;
        }
        .auto-style113 {
            width: 621px;
        }
        .auto-style114 {
        }
        .auto-style115 {
            width: 621px;
            height: 19px;
        }
        .auto-style116 {
            width: 621px;
            height: 21px;
        }
        .auto-style117 {
        }
        .auto-style118 {
            height: 32px;
            width: 621px;
        }
        .auto-style119 {
            height: 33px;
            width: 621px;
        }
        .auto-style120 {
            height: 92px;
            width: 621px;
        }
        .auto-style121 {
            height: 30px;
            width: 621px;
        }
        .auto-style122 {
            height: 29px;
            width: 621px;
        }
        .auto-style123 {
            height: 39px;
            width: 621px;
        }
        .auto-style124 {
            width: 40px;
        }
        .auto-style125 {
            width: 40px;
            height: 18px;
        }
        .auto-style126 {
            width: 40px;
            height: 19px;
        }
        .auto-style127 {
            width: 40px;
            height: 21px;
        }
        .auto-style128 {
            height: 15px;
            width: 40px;
        }
        .auto-style129 {
            height: 32px;
            width: 40px;
        }
        .auto-style130 {
            height: 33px;
            width: 40px;
        }
        .auto-style131 {
            height: 92px;
            width: 40px;
        }
        .auto-style132 {
            height: 30px;
            width: 40px;
        }
        .auto-style133 {
            height: 29px;
            width: 40px;
        }
        .auto-style134 {
            height: 39px;
            width: 40px;
        }
        .auto-style135 {
            height: 38px;
            width: 40px;
        }
       
     

     
        .style28
        {
            width: 304px;
        }
        .style29
        {
            height: 18px;
            width: 304px;
        }
        .style30
        {
            height: 19px;
            width: 304px;
        }
        .style31
        {
            height: 21px;
            width: 304px;
        }
        .style33
        {
            height: 32px;
            width: 304px;
        }
        .style34
        {
            height: 33px;
            width: 304px;
        }
        .style35
        {
            height: 92px;
            width: 304px;
        }
        .style36
        {
            height: 39px;
            width: 304px;
        }
       
     

     
        .style37
        {
            width: 304px;
            height: 30px;
        }
        .style38
        {
            text-align: left;
            width: 1041px;
        }
        .style48
        {
            height: 38px;
            width: 1041px;
        }
        .style49
        {
            width: 1041px;
            height: 18px;
        }
        .style50
        {
            width: 1041px;
            height: 19px;
        }
        .style51
        {
            width: 1041px;
            height: 21px;
        }
        .style52
        {
            height: 32px;
            width: 1041px;
        }
        .style53
        {
            height: 30px;
            width: 1041px;
        }
        .style54
        {
            width: 1041px;
        }
        .style55
        {
            height: 33px;
            width: 1041px;
        }
        .style56
        {
            height: 92px;
            width: 1041px;
        }
        .style57
        {
            height: 39px;
            }
       
     

     
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <div>
    
        <h2 >
            &nbsp;&nbsp;&nbsp;</h2>
        <h2 >
            &nbsp;&nbsp;
            Housekeeping Schedule&nbsp;&nbsp;
            <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
        </h2>
        <table class="style1">
            <tr>
                <td class="style20">
                    &nbsp;</td>
                <td class="style20">
                    &nbsp;</td>
                <td class="style38">
                </td>
                <td class="auto-style93">
                </td>
                <td class="style28">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                </td>
                <td class="auto-style113">
                </td>
                <td class="auto-style124">
                    &nbsp;</td>
                <td class="auto-style5">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style10">
                    &nbsp;</td>
                <td class="auto-style10">
                    &nbsp;</td>
                <td class="style49">
                    Schedule ID</td>
                <td class="auto-style11">
                    :</td>
                <td class="style29">
                        <asp:TextBox ID="tbxScheduleID" runat="server" Width="268px" MaxLength="20"></asp:TextBox>
                        <ajaxToolkit:FilteredTextBoxExtender ID="tbxScheduleID_FilteredTextBoxExtender" runat="server" Enabled="True" FilterType="UppercaseLetters, Numbers, LowercaseLetters, Custom" TargetControlID="tbxScheduleID" ValidChars="-_">
                        </ajaxToolkit:FilteredTextBoxExtender>
                </td>
                <td class="auto-style114" colspan="3" rowspan="9">
                    
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        
                    </td>
            </tr>
            <tr>
                <td class="auto-style15">
                    &nbsp;</td>
                <td class="auto-style15">
                    &nbsp;</td>
                <td class="style50">
                    </td>
                <td class="auto-style16">
                    </td>
                <td class="style30">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tbxScheduleID" ErrorMessage="Please Enter Schedule ID" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style22">
                    &nbsp;</td>
                <td class="auto-style22">
                    &nbsp;</td>
                <td class="style51">
                    <p>
                        Date</p>
                </td>
                <td class="auto-style23">
                    :</td>
                <td class="style31">
                    <h3>
                        <asp:TextBox ID="tbxDay" runat="server" Width="60px" MaxLength="2"></asp:TextBox>
                        <ajaxToolkit:FilteredTextBoxExtender ID="tbxDay_FilteredTextBoxExtender" runat="server" Enabled="True" FilterType="Numbers" TargetControlID="tbxDay">
                        </ajaxToolkit:FilteredTextBoxExtender>
                    &nbsp; <asp:DropDownList ID="ddlMonth" runat="server">
                            <asp:ListItem Value="1">January</asp:ListItem>
                            <asp:ListItem Value="2">February</asp:ListItem>
                            <asp:ListItem Value="3">March</asp:ListItem>
                            <asp:ListItem Value="4">April</asp:ListItem>
                            <asp:ListItem Value="5">May</asp:ListItem>
                            <asp:ListItem Value="6">June</asp:ListItem>
                            <asp:ListItem Value="7">July</asp:ListItem>
                            <asp:ListItem Value="8">August</asp:ListItem>
                            <asp:ListItem Value="9">September</asp:ListItem>
                            <asp:ListItem Value="10">October</asp:ListItem>
                            <asp:ListItem Value="11">November</asp:ListItem>
                            <asp:ListItem Value="12">December</asp:ListItem>
                        </asp:DropDownList>
&nbsp; <asp:TextBox ID="tbxYear" runat="server" Width="92px" MaxLength="4"></asp:TextBox>
                        <ajaxToolkit:FilteredTextBoxExtender ID="tbxYear_FilteredTextBoxExtender" runat="server" Enabled="True" FilterType="Numbers" TargetControlID="tbxYear">
                        </ajaxToolkit:FilteredTextBoxExtender>
                    </h3>
                </td>
            </tr>
            <tr>
                <td class="auto-style10">
                    &nbsp;</td>
                <td class="auto-style10">
                    &nbsp;</td>
                <td class="style49">
                    </td>
                <td class="auto-style11">
                    </td>
                <td class="style29">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tbxDay" ErrorMessage="Please Enter Day " ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tbxYear" ErrorMessage="Please Enter Year" ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RangeValidator ID="RangeValidator3" runat="server" 
                        ControlToValidate="tbxDay" ErrorMessage="Please Enter Valid Day" 
                        ForeColor="Red" MaximumValue="31" MinimumValue="1" Type="Integer"></asp:RangeValidator>
                        <asp:RangeValidator ID="RangeValidator2" runat="server" 
                            ControlToValidate="tbxYear" ErrorMessage="Please Enter Valid Year" 
                            ForeColor="Red" MaximumValue="2020" MinimumValue="2013" Type="Integer"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style36">
                    </td>
                <td class="auto-style36">
                    </td>
                <td class="style52">
                    <p>
                        <asp:Label ID="lblGM" runat="server" Text="General Maintenance"></asp:Label>
                    &nbsp;Staff </p>
                </td>
                <td class="auto-style37">
                    :</td>
                <td class="style33">
                    <asp:DropDownList ID="ddlGmS1" runat="server" Width="300px">
                    </asp:DropDownList>
                </td>
                </tr>
            <tr>
                <td class="auto-style107">
                        </td>
                <td class="auto-style107">
                        </td>
                <td class="style53">
                        <asp:Label ID="lblRm" runat="server" Text="Room Maintenance"></asp:Label>
                    &nbsp;Staff
                    </td>
                <td class="auto-style108">
                    :</td>
                <td class="style37">
                    <asp:DropDownList ID="ddlRmS1" runat="server" Width="300px">
                    </asp:DropDownList>
                </td>
                </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td class="style54">
                    <p>
                        <asp:Label ID="lblEm" runat="server" Text="Estate Maintenance"></asp:Label>
                        &nbsp;Staff</p>
                </td>
                <td class="auto-style94">
                    :</td>
                <td class="style28">
                    <asp:DropDownList ID="ddlEmS1" runat="server" Width="300px">
                    </asp:DropDownList>
                </td>
                </tr>
            <tr>
                <td class="auto-style41">
                        &nbsp;</td>
                <td class="auto-style41">
                        &nbsp;</td>
                <td class="style55">
                        <asp:Label ID="lblSm" runat="server" Text="Security Maintenance"></asp:Label>
                    &nbsp;Staff</td>
                <td class="auto-style42">
                    :</td>
                <td class="style34">
                    <asp:DropDownList ID="ddlSmS1" runat="server" Width="300px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style46">
                    &nbsp;</td>
                <td class="auto-style46">
                    &nbsp;</td>
                <td class="style56">
                    Description<br />
                    <br />
                    <br />
                    <br />
                    <br />
                </td>
                <td class="auto-style47">
                    :<br />
                    <br />
                    <br />
                    <br />
                    <br />
                </td>
                <td class="style35">
                        <asp:TextBox ID="tbxDescription1" runat="server" Height="136px" TextMode="MultiLine" 
                            Width="300px" MaxLength="299"></asp:TextBox>
                    </td>
                </tr>
            <tr>
                <td class="auto-style60">
                    &nbsp;</td>
                <td class="auto-style60">
                    &nbsp;</td>
                <td class="style57" colspan="6">
                    
                        <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" 
                            GridLines="None">
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:HyperLinkField Text="View Details" DataNavigateUrlFields="ScheduleID" 
                                    
                                    DataNavigateUrlFormatString="RetrieveHousekeepingSchedule.aspx?ScheduleID={0}" 
                                    HeaderText="Action" />
                            </Columns>
                            <EditRowStyle BackColor="#2461BF" />
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#EFF3FB" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#F5F7FB" />
                            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                            <SortedDescendingCellStyle BackColor="#E9EBEF" />
                            <SortedDescendingHeaderStyle BackColor="#4870BE" />
                        </asp:GridView>
                        </td>
            </tr>
            <tr>
                <td class="auto-style81">
                    &nbsp;</td>
                <td class="auto-style81">
                    &nbsp;</td>
                <td class="auto-style81" colspan="6">
                    <asp:Button ID="btnGoBack" runat="server" Text="Go Back to Staff Menu" 
                        Width="200px" onclick="btnGoBack_Click" CausesValidation="False" 
                        BackColor="#F2E291" Height="35px" />
                &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnCreateHousekeeping" runat="server" Text="Create" 
                        Width="200px" onclick="btnCreateHousekeeping_Click" BackColor="#F2E291" 
                        Height="35px" />
                    <ajaxToolkit:ConfirmButtonExtender ID="btnCreateHousekeeping_ConfirmButtonExtender" 
                        runat="server" ConfirmText="Are you sure you want to create schedule?" 
                        Enabled="True" TargetControlID="btnCreateHousekeeping">
                    </ajaxToolkit:ConfirmButtonExtender>
&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnAddNewStaff" runat="server" onclick="btnAddNewStaff_Click" 
                        Text="Create More Schedule" Width="200px" CausesValidation="False" 
                        BackColor="#F2E291" Height="35px" />
                </td>
            </tr>
            <tr>
                <td class="auto-style81">
                    &nbsp;</td>
                <td class="auto-style81">
                    &nbsp;</td>
                <td class="style48">
                    &nbsp;</td>
                <td class="auto-style95">
                    &nbsp;</td>
                <td class="auto-style81" colspan="2">
                    &nbsp;</td>
                <td class="auto-style135">
                    &nbsp;</td>
                <td class="auto-style83">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
</asp:Content>
